-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[React SDK] Fix: Hides custom_jwt profiles from UI #5802
[React SDK] Fix: Hides custom_jwt profiles from UI #5802
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
size-limit report 📦
|
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5802 +/- ##
=======================================
Coverage 53.20% 53.20%
=======================================
Files 1101 1101
Lines 59095 59100 +5
Branches 4816 4817 +1
=======================================
+ Hits 31444 31447 +3
- Misses 26934 26936 +2
Partials 717 717
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the filtering logic in the `LinkedProfilesScreen` component to exclude specific profile types, namely `guest`, `custom_jwt`, and `custom_auth_endpoint`, from being displayed. It also updates the test cases to reflect these changes. ### Detailed summary - Updated the filtering logic in `LinkedProfilesScreen.tsx` to exclude `guest`, `custom_jwt`, and `custom_auth_endpoint` profiles. - Added a test case to verify that `custom_jwt` profiles are not displayed. - Added a test case to ensure profiles that are not `guest` or `custom_jwt` are displayed correctly. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
eaf69b8
to
aad6586
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR enhances the
LinkedProfilesScreen
component by refining the filtering logic for connected profiles, ensuring that profiles of typeguest
,custom_jwt
, andcustom_auth_endpoint
are excluded from display. It also adds tests to verify these changes.Detailed summary
LinkedProfilesScreen.tsx
to exclude profiles of typesguest
,custom_jwt
, andcustom_auth_endpoint
.custom_jwt
profiles are not displayed.guest
orcustom_jwt
are displayed correctly.